/* 
 * main function
 * to test 
 *
 */

#include <iostream>
#include <cstring>
#include "paragraph.h"

int main(int argc, char const *argv[])
{
	char t[10]="lisp";
	word wd3(t);
	// cout << wd3;
	// word wd1;
	// word wd2;
	// cin >> wd1 >> wd2;
	// cout << wd1 <<" : " << wd2;
	// cout << "resu:"<< (wd1 == wd2)<<endl;
	// wd3 = wd3 + wd2;
	// cout << wd3;
	// return 0;
	// wd1 += wd2;
	// wd1 += t;
	// cout << wd1;
	// cout << wd1.length();
	// sentence s1;
	// cin >> s1;
	// sentence s2;
	// cin >> s2;
	// s2 = s1 + s2;
	// cout << s2;
	//cout <<wd3<<endl;
	wd3.capital();
	// cout << wd3;
	sentence s4;
	cin >> s4;
	s4 += wd3;
	s4.capitalization();
	cout << s4;
	cout << "First Word: " << s4[1];
	s4.warningLong();
	cout << endl;

	paragraph P1,P2;
	P1 = s4;
	sentence s5;
	cin >> s5;
	P1 += s5;

	sentence s6;
	cin >> s6;
	P2 += s6;
	cout <<"Paragraph 1 : " << P1 << "Paragraph 2 : "   << P2;

}